<template>
  <background-img/>
  <div class="bottom-container">
    <h3>~很高兴见到您!我们欢迎每一位游戏爱好者访问我们的网站~</h3>
    <p>
      ~本站提供的所有资源均是站主和ta的朋友们一起搜集的,本站提供的所有内容均为免费的(如果发现有收费的请立即联系我们进行处理!),我们建立本站单纯是因为兴趣使然,无关利益.如果您有兴趣欢迎您加入我们!~
    </p>
    <h4>请注意:目前为止本站未投放任何广告,如果您看到了广告请不要相信,请立即联系我们进行处理!</h4>
  </div>
</template>

<script setup lang="ts">
import BackgroundImg from "@components/background-img.vue";

</script>

<style scoped>
/* ======== 底部容器 ======== */
.bottom-container {
  background: rgba(26, 26, 26, 0.6);
  backdrop-filter: blur(12px);
  border-top: 2px solid var(--primary-red);
  padding: 2rem;
  margin-top: 3rem;
  text-align: center;
  position: relative;
  z-index: 10;
  animation: fadeIn 0.8s ease-out;
}

.bottom-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-red), var(--primary-purple));
  opacity: 0.6;
  filter: blur(2px);
}

.bottom-container::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-red), transparent);
  opacity: 0.4;
}

/* ======== 主标题 ======== */
.bottom-container h3 {
  font-size: 1.4em;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary-red), var(--primary-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 8px rgba(255, 42, 109, 0.3);
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ======== 主要内容 ======== */
.bottom-container p {
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: justify;
  text-justify: inter-ideograph;
}

/* ======== 警告信息 ======== */
.bottom-container h4 {
  font-size: 1.1em;
  color: var(--accent-blue);
  margin-top: 1.5rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 8px rgba(0, 168, 255, 0.3);
  padding: 0.8rem 1.2rem;
  border-radius: 8px;
  background-color: rgba(0, 168, 255, 0.1);
  border: 1px solid rgba(0, 168, 255, 0.2);
  display: inline-block;
  animation: pulse-light 2s infinite alternate;
}

/* ======== 动画效果 ======== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-light {
  0% {
    box-shadow: 0 0 10px rgba(0, 168, 255, 0.3);
  }
  100% {
    box-shadow: 0 0 20px rgba(0, 168, 255, 0.5);
  }
}

/* ======== 响应式设计 ======== */
@media (max-width: 768px) {
  .bottom-container {
    padding: 1.5rem;
    margin-top: 2rem;
  }
  
  .bottom-container h3 {
    font-size: 1.2em;
  }
  
  .bottom-container p {
    font-size: 0.9em;
  }
  
  .bottom-container h4 {
    font-size: 1em;
    padding: 0.6rem 1rem;
  }
}

@media (max-width: 480px) {
  .bottom-container {
    padding: 1rem;
    margin-top: 1.5rem;
  }
  
  .bottom-container h3 {
    font-size: 1.1em;
  }
  
  .bottom-container p {
    font-size: 0.85em;
    text-align: left;
  }
  
  .bottom-container h4 {
    font-size: 0.95em;
    padding: 0.5rem 0.8rem;
  }
}

/* ======== 悬停效果 ======== */
.bottom-container:hover {
  background: rgba(26, 26, 26, 0.9);
  border-top-color: var(--primary-red-light);
}

.bottom-container:hover::before {
  opacity: 0.8;
}

.bottom-container:hover::after {
  opacity: 0.6;
}

/* ======== 特殊装饰 ======== */
.bottom-container {
  position: relative;
  overflow: hidden;
}

.bottom-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 42, 109, 0.05), transparent);
  transition: left 0.8s ease;
}

.bottom-container:hover::before {
  left: 100%;
}
</style>
